//
// Created by 51165 on 2025/10/11.
//
#include<stdio.h>
int main() {
    for (int i = 0; i < 3; ++i) {
         for (int j = 0 ; j < 3 -i ; ++j) {
             printf(" ");
         }
        for (int j = 0 ; j < i*2+1 ; ++j) {
            printf("*");
        }
        printf("\n");
    }
    for (int i = 1; i >=0 ; --i) {
        for (int j = 0 ; j <= 2 -i ; ++j) {
            printf(" ");
        }
        for (int j = 0 ; j<i*2+1 ; ++j ) {
            printf("*");
        }
        printf("\n");
    }
    return 0;
}